package com.tianruan.dc.modules.userinfo.service;

import com.tianruan.dc.modules.sys.user.entity.dto.UserDTO;
import com.tianruan.dc.modules.sys.user.utils.PageBean;
import com.tianruan.dc.modules.userinfo.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserInfoService {

    void insertUser(User user);

    User findUser(String id);

    void updateUser(User user);

    void delete(UserDTO id);

    Boolean checkUserId(String id);

    void save(User user);


    Boolean checkUserRoleId(String id);

    PageBean<User> pageStu(Integer page, Integer pageSize, String name, String officeId, String major, String enrollmentYear, String email,
                                String phone);
    PageBean<User> pageTea(Integer page, Integer pageSize, String name,String post , String college,String phone, String major, String email
                            );

    PageBean<User> pageTutor(Integer page, Integer pageSize,
                             String college, String job, String post,
                             String work_exp, String excel_field, String age);
}
